//
//  MyBillsViewModel.h
//  HTP
//
//  Created by 王鑫 on 15/11/10.
//  Copyright © 2015年 nit. All rights reserved.
//

#import "ViewModel.h"
#import "MyOrderModel.h"

@interface MyOrderViewModel : ViewModel

- (void)getOrderByPrId:(NSString *)prId;
/**
 *  添加订单
 *
 *  @param parentId
 *  @param teacherSetId
 *  @param count        
 */
-(void)addOrderByParent:(NSString *)parentId withTeacherSetId:(NSString *)teacherSetId andConut:(NSString *)count;

/**
 *  获取订单详情
 *
 *  @param orderId 
 */
-(void)getOrderDetailByOrderId:(NSString *)orderId;

/**
 *  获取完成订单列表
 *
 *  @param orderId  末尾orderId
 *  @param length   一次取的长度
 *  @param parentId 家长id
 */
-(void)getFinishOrderList:(NSString *)orderId length : (NSString *)length andParentId:(NSString *)parentId;
/**
 *  获取为支付订单
 *
 *  @param parentId 
 */
-(void)getUnFinishOrderList:(NSString *)parentId ;
/**
 *  订单完成下拉更新
 *
 *  @param orderId
 *  @param parentId 
 */
-(void)getFinishOrderDwonPull:(NSString *)orderId andParentId:(NSString *)parentId;
@end
